if (this.district.isSelected()) {
Vector<RuralHouse> houses = null;
try {
- houses = houseMan.getHouses(null, jComboBox1
+ houses = houseMan.getHouses(null, null, jComboBox1
.getSelectedItem().toString(), Integer.parseInt(nBedrooms
.getText()), Integer.parseInt(nKitchens.getText()), Integer
.parseInt(nBaths.getText()), Integer.parseInt(nParkings
list.setVisible(true);
} else if (this.ruralHouseName.isSelected()) {
try {
- RuralHouse rh = houseMan.getHouses(jTextField3.getText(), null,
+ RuralHouse rh = houseMan.getHouses(null, jTextField3.getText(), null,
0, 0, 0, 0, 0).get(0);
// The next instruction creates a java.sql.Date object from the
// date selected in the JCalendar object